<!DOCTYPE html>
<html lang="en">
<head>
	<meta charset="UTF-8">
	<title>Document</title>
	<script type="text/javascript">
		


		var sTr = "2017-11-11";
		var aRr = sTr.split("-");
		var aRr1 = sTr.split("");
		console.log(aRr);
		console.log(aRr1);
		
		var sTr2 = '#div2';
		var aRr2 = sTr2.charAt(0);
		console.log(aRr2);

		var sTr3 = "Microsoft Yahei";
		var aRr3 = sTr3.indexOf("o");
		console.log(aRr3);

		var sTr4 = "Microsoft Yahei";
		var aRr4 = sTr4.substring(10);
		console.log(aRr4);

		var sTr5 = 'wevsmy';
		console.log(sTr5);
		var sTr6 = sTr5.split('').reverse().join('');
		console.log(sTr6);

	</script>
</head>
<body>
	
</body>
</html>